package com.woniu.defecttracking.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author tiangle
 * @since 2021-12-31
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("project_account")
@ApiModel(value="ProjectAccount对象", description="")
public class ProjectAccount implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "项目与账户的关联ID")
      @TableId(value = "project_account_id", type = IdType.AUTO)
    private Integer projectAccountId;

    @ApiModelProperty(value = "项目的ID")
    private Integer projectId;

    @ApiModelProperty(value = "账户ID")
    private Integer accountId;


}
